package model;

import java.util.Date;

public class MemberCard {

	private long memberCardNo;
	private Member member;
	private Card card;
	private Date startTime;
	private Date endTime;
	private int restNum;
	
	public MemberCard() {
		
	}

	public MemberCard(long memberCardNo, Member member, Card card,
			Date startTime, Date endTime, int restNum) {
		super();
		this.memberCardNo = memberCardNo;
		this.member = member;
		this.card = card;
		this.startTime = startTime;
		this.endTime = endTime;
		this.restNum = restNum;
	}

	public long getMemberCardNo() {
		return memberCardNo;
	}

	public void setMemberCardNo(long memberCardNo) {
		this.memberCardNo = memberCardNo;
	}

	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Card getCard() {
		return card;
	}

	public void setCard(Card card) {
		this.card = card;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public int getRestNum() {
		return restNum;
	}

	public void setRestNum(int restNum) {
		this.restNum = restNum;
	}
	
}
